package cn.fl.customer.service;

import java.util.List;

import cn.cmm.base.framework.exception.BaseException;
import cn.fl.customer.vo.CstCorpHisVO;
import fl.customer.facade.customer.condition.CstCorpHisQueryCondition;

/**
 * @Description: 法人公司历史信息表 客户端服务层接口
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 查询集合：search*
 */
public interface ICstCorpHisService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public CstCorpHisVO selectById(Long id) throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(CstCorpHisVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id) throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(CstCorpHisVO entity) throws BaseException;

    /**
     * 根据条件查询
     * @param page
     * @return
     */
    public List<CstCorpHisVO> searchList(CstCorpHisQueryCondition condition) throws BaseException;
}
